package com.snow.vpnclient.constant;

/**
 * @author liufq
 * @since 2022-10-25 16:13:04
 */
public class DataStoreConsts {

    public static final String KEY_USERNAME = "key_username";

    public static final String KEY_PASSWORD = "key_password";

    public static final String KEY_IS_REMEMBER_PASSWORD = "key_is_remember_password";

    public static final String KEY_IS_AUTO_LOGIN = "key_is_auto_login";

    public static final String KEY_LDAP_USERNAME = "key_ldap_username";

    public static final String KEY_LDAP_PASSWORD = "key_ldap_password";

    public static final String KEY_LDAP_IS_REMEMBER_PASSWORD = "key_ldap_is_remember_password";

    public static final String KEY_LDAP_IS_AUTO_LOGIN = "key_ldap_is_auto_login";

    /**
     * token相关
     */
    public static final String KEY_USER_TOKEN = "key_user_token";

    public static final String KEY_USER_REFRESH_TOKEN = "key_user_refresh_token";

    public static final String KEY_TOKEN_EXPIRE_TIME = "key_token_expire_time";

    /**
     * 登录成功方式
     */
    public static final String KEY_LOGIN_TYPE = "key_login_type";

    /**
     * 令牌是否绑定
     */
    public static final String KEY_TOKEN_IS_BIND = "key_token_is_bind";

    /**
     * 服务器地址
     */
    public static final String KEY_SERVER_ADDRESS = "key_server_address";

    /**
     * 服务器端口
     */
    public static final String KEY_SERVER_PORT = "key_server_port";

    /**
     * 用户信息
     */
    public static final String KEY_USER_INFO = "key_user_info";

    public static final String KEY_VPN_IP = "key_vpn_ip";

    /**
     * 上次登录信息
     */
    public static final String KEY_LOGIN_INGO_LAST = "key_login_ingo_last";

    /**
     * MAC地址
     */
    public static final String KEY_MAC_ADDRESS = "key_mac_address";

    /**
     * token secret
     */
    public static final String KEY_TOKEN_SECRET = "key_token_secret";
}
